package com.czh.auth.domain.convert;

import com.czh.auth.domain.entity.AuthRoleBO;
import com.czh.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author caozaihui
 * @version 1.0
 * @since 2024/8/28 下午 6:31
 */
@Mapper
public interface AuthRoleDomainConverter {
    AuthRoleDomainConverter INSTANCE = Mappers.getMapper(AuthRoleDomainConverter.class);

    AuthRole convert(AuthRoleBO authRoleBO);
}
